<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:py="http://genshi.edgewall.org/"
      xmlns:xi="http://www.w3.org/2001/XInclude">

<py:def function="tb_addressform">
<div id="post_content" class="ui-corner-all">
	<span>Examples: 'Genova', 'Amalfi', ..</span>
			<table>
				<tbody>
					<tr>
						<td id="address-search">
							${tmpl_context.address_search_form(show_labels=True)}
						</td>
						<td id="address-form" style="vertical-align:middle;">
							${tmpl_context.address_form(show_labels=True, value=value)}
						</td>
					</tr>
				</tbody>
			</table>
</div>


<div id="post_content" class="ui-corner-all" >
	${tmpl_context.gmap()}
</div>

</py:def>
<head>
	<meta content="text/html; charset=UTF-8" http-equiv="content-type" />
  	<title></title>
	${tmpl_context.pack()}
  	${tmpl_context.googlemaps_js()}
  	<link rel="stylesheet" type="text/css" media="screen" href="${tg.url('/css/style.css')}" />
	<style type="text/css">
	#submit_container input.submitbutton{
	background: #FFFFFF;
	font-size: 250%;
	border: 0px solid #006;
	font-weight: bold;
	color: #74B04B;
	margin-top: 15px;
	}
	#submit_container input.submitbutton:hover{
	border: 2px solid #74B04B;;
	}
	.latlngform li {
	list-style: none;
	margin: 0;
	padding: 0;
	}
</style>
</head>
<body>
<div >
				<div id="editor">
					<div style="text-align:center">
					<h1 style="color: #EB9545">TgGlobe</h1>
					<span>${lang}</span>
					<h4><a href="http://code.google.com/p/tgglobe/">Project on Google Code</a></h4>
					</div>
					${tb_addressform()}

				</div>
</div>

</body>
</html>